package com.cs.web.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @package com.cs.web.config
 * @class TplConfig
 * @desc 模板配置
 * @author wind
 * @date    2023/9/20 15:45
 * @version v1.0
 */
@Component
public class TplConfig {

    /**
     * tpl目录
     */
    public static final String TPL = "tpl/";

    public static final String CODE_ZIP = "code.zip";

    public static final String CODE = "code/";

    /**
     * 模板预览测试tmp模板目录
     */
    public static final String TMP_TPL = "tmp/tpl/";

    /**
     * 模板预览测试tmp输出目录
     */
    public static final String TMP_OUT = "tmp/out/";

    public static final String PARENT = "com.test";

    public static final String MODULE = "test";

    public static final String TEST_TABLE = "tpl_test";

    public static final String AUTHOR = "wind";

    /**
     * tpl模板输出目录
     */
    @Value("${tpl.dir}")
    private String dir;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }
}
